// 用于伸缩的splitspan控件的公共代码引入

import { Splitpanes,Pane } from 'splitpanes'
import 'splitpanes/dist/splitpanes.css'

export const SplitpaneMixin = {

  data: {
    isResize: false,
  },
  components: {
    Splitpanes,
    Pane,
  },
  methods: {
    resize() {
      this.isResize = true
    },
    resized() {
      this.isResize = false
    },
  }
}